package com.yf1706.dao.jpa;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.yf1706.bean.ComprehensiveQuestion;
import com.yf1706.bean.QuestionBank;

public interface comprehensiveJDAO extends CrudRepository<ComprehensiveQuestion, Integer>{

	
		public List<ComprehensiveQuestion> findByQuestionBank(QuestionBank q);

		public List<ComprehensiveQuestion> findByComprehensiveQuestionId(int comprehensiveId);
}
